package com.wangzhixuan.service;

import com.wangzhixuan.db.bean.*;
import com.wangzhixuan.db.dao.CommentDao;
import com.wangzhixuan.db.dao.OrderDao;
import com.wangzhixuan.db.dao.PaymentDao;
import com.wangzhixuan.db.dao.ProductDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 *
 */
@Service
public class CommentService {

    @Autowired
    private CommentDao commentDao;

    public long addComment(Comment comment){
        return commentDao.addComment(comment);
    }

}
